//
//  LSZNetworkLoadViewController.m
//  PartyClassCloud
//
//  Created by 梁素珍 on 2018/12/3.
//  Copyright © 2018年 九酷. All rights reserved.
//

#import "LSZNetworkLoadViewController.h"

@interface LSZNetworkLoadViewController ()<UIWebViewDelegate>

@end

@implementation LSZNetworkLoadViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = self.titleStr;
    UIWebView * webView = [[UIWebView alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight)];
    NSURLRequest *requers = [NSURLRequest requestWithURL:[NSURL URLWithString:self.url]];
    webView.delegate = self;
    [webView loadRequest:requers];
    [self.view addSubview:webView];
}
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType{
    return YES;
}
-(void)webViewDidStartLoad:(UIWebView *)webView
{
    //开始加载网页调用此方法
    //    NSLog(@"123");
}
-(void)webViewDidFinishLoad:(UIWebView *)webView
{
    //网页加载完成调用此方法
//    [self addCountdown];
}
 
@end
